import { App } from 'vue'
import { createWebHistory, createRouter, RouteRecordRaw } from 'vue-router'
import Home from '@/pages/Home.vue'
import EmplymentEvaluation from '@/pages/EmplymentEvaluation.vue'

const routes: Array<RouteRecordRaw> = [
	{ path: '/', redirect: '/home' },
	{ path: '/home', component: Home, name: "Home", },
	{ path: '/emplpyment-evaluation', component: EmplymentEvaluation, name: 'EmplymentEvaluation' }
]

export default function install(app: App) {
	app.use(createRouter({
		history: createWebHistory(),
		routes,
	}))
}